package cn.zn.modules.pz.cur.entity;

import cn.zn.framework.common.abs.AbsOldMainEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tp_repay")
public class TpRepay extends AbsOldMainEntity {
    /**
     * 经费类型
     */
    @TableField(value = "SPENDING_TYPE_")
    private Integer spendingType;

    /**
     * 支付方式
     */
    @TableField(value = "EXPENSE_WAY_")
    private String expenseWay;

    /**
     * 是否支付
     */
    @TableField(value = "IS_PAY_")
    private Boolean isPay;

    /**
     * 金额
     */
    @TableField(value = "MONEY_")
    private Double money;

    /**
     * 票据张数
     */
    @TableField(value = "PAPER_NUM_")
    private String paperNum;

    /**
     * 事由
     */
    @TableField(value = "REASON_")
    private String reason;

    /**
     * 主表ID
     */
    @TableField(value = "TP_MAIN_ID_")
    private String tpMainId;

    /**
     * 财政局结果
     */
    @TableField(value = "CZJ_RESULT_")
    private Boolean czjResult;

    /**
     * 支付人员工号
     */
    @TableField(value = "PAY_USER_CODE_")
    private String payUserCode;

    /**
     * 是否使用公共经费
     */
    @TableField(value = "IS_USE_PUBLIC_")
    private Boolean isUsePublic;

    /**
     * 是否现金
     */
    @TableField(value = "MONEY_TYPE_ISCASH_")
    private Boolean moneyTypeIscash;

    /**
     * 是否预约
     */
    @TableField(value = "IS_APPOINT_")
    private Boolean isAppoint;

    /**
     * 借款单据号
     */
    @TableField(value = "EXPENSE_CODE_")
    private String expenseCode;

    @TableField(value = "projectCode")
    private String projectcode;
}